<?php
	header ('Access-Control-Allow-Origin: *');
	header ('Access-Control-Allow-Methods: GET, POST');

	include_once('config.php');
	include_once('saetv2.ex.class.php');

	//这是中文
	$oauth = new SaeTOAuthV2(WB_AKEY , WB_SKEY);
	$code_url = $oauth->getAuthorizeURL(WB_CALLBACK_URL);

	echo $code_url;
?>